<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>下拉列表</title>
    <style>
        #a2{
            background-color: greenyellow;
            border-radius: 8px;
            border: 1px solid red;
            margin-top: 8px;
            margin-left: 10px;
        }
    </style>
   
</head>
<body>
    <div>
        <div class="a1">
            <!-- 在id中编辑属性，a2 可该下拉的各种特性,size 默认显示几个-->
            <select name="" id="a2" size="4">
                <option value="">0714</option>
                <option value="">8665</option>
                <option value="">8665</option>
                <option value="">8664</option>
                <option value="">8663</option>
                <option value="">8662</option>
            </select>
        </div>
    </div>
    
</body>
</html>